<?php
ob_flush();
ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<h1>Extra In Order & Stationary In KT: <?php echo $this->kt;?> For <?php echo $this->shop;?> </h1>
<table width="800" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">BarCode</th>
    <th scope="col">Description</th>
    <th scope="col">Extra Qty</th>
  </tr>
<?php foreach($this->arrDiff as $key => $item){?>  
  <tr>
    <td><?php echo $key + 1;?></td>
    <td><?php echo $item[0];?></td>
    <td><?php echo $item[1];?></td>
    <td><?php echo $item[2];?></td>
  </tr>
<?php } ?>  
</table>
</body>
</html>
<?php
$mailbody = ob_get_contents();
	$mail = new Model_Emailshandler();
	$mail->sendNormalEmail($this->shopEmail,"Extra In Order /Stationary",$mailbody);

?>